#!/bin/sh
$TOMCAT_HOME/bin/shutdown.sh
svn update
mvn install
cp gomoku-front/target/gomoku-front-0.0.1-SNAPSHOT.war $TOMCAT_HOME/webapps/gomoku.war
cp gomoku-hadoop/target/gomoku-hadoop-0.0.1-SNAPSHOT.jar /home/liu/tmp/hadoopai.jar
rm -r $TOMCAT_HOME/webapps/gomoku/
$TOMCAT_HOME/bin/startup.sh

